import request  from '@/utils/request.js'
import axios from 'axios'
export const PutViewCounts = () => request.put('/website/viewCounts')
export const GetViewCounts  =()=>request.get('/website/viewCounts')
export const GetPositionAdcode =(lat,lng)=>request.post('/website/positionAdcode',{lat,lng})
export const GetPositionWeather =(city)=>request.post('/website/positionWeather',{city})
 export const GetCoverWinnow =()=>{
    return [
    {
        "id": "JavaScript",
        "photo": "https://beloved-1308416229.cos.ap-chengdu.myqcloud.com/images/Js.png",
        "title": "JavaScript",
        "path":"https://developer.mozilla.org/en-US/docs/Web/JavaScript"
    },
    {
        "id": "React",
        "photo": "https://beloved-1308416229.cos.ap-chengdu.myqcloud.com/images/React.webp",
        "title": "React",
        "path":'https://reactjs.org/'
    },
    {
        "id": "NodeJS",
        "photo": "https://beloved-1308416229.cos.ap-chengdu.myqcloud.com/images/NodeJS.jpg",
        "title": "NodeJS",
        "path":'https://www.nodeapp.cn/'
    },
    {
        "id": "NextJS",
        "photo": "https://beloved-1308416229.cos.ap-chengdu.myqcloud.com/images/NextJS.webp",
        "title": "NextJS",
        "path":'https://nextjs.org/'
    },
    {
        "id": "VueJS",
        "photo": "https://beloved-1308416229.cos.ap-chengdu.myqcloud.com/images/VueJS.jpg",
        "title": "VueJS",
        "path":'https://cn.vuejs.org/'
    },
    {
        "id": "NuxtJS",
        "photo": "https://beloved-1308416229.cos.ap-chengdu.myqcloud.com/images/Nuxt.jpg",
        "title": "NuxtJS",
        "path":'https://zh.nuxtjs.org/'
    },
    {
        "id": "VitePress",
        "photo": "https://beloved-1308416229.cos.ap-chengdu.myqcloud.com/images/VitePress.jpg",
        "title": "VitePress",
         "path":'https://vitepress.vuejs.org/'
    }
]
}
